package com.guigu.tms.geteway.feign;

import com.guigu.tms.geteway.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "tms-security",path = "/security/manager")
public interface ManagerAuthFeignClient {

    @PostMapping("checkAuth")
    Result checkAuth(@RequestParam String token);

}
